#ifndef NET_PTHREAD_H
#define NET_PTHREAD_H

#include "QThread"
#include "QDebug"
#include "QObject"

class net_pthread : public QThread
{
    Q_OBJECT
public:
    bool succeed_flag = false;
    net_pthread(int out_time);
    int out_time;
    int nowTime;
signals:
    void trigger_main();

protected:
    void run();
};

#endif // NET_PTHREAD_H
